package com.albert.java8lambda;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Goods {
    private String name;
    private double cost;

//    public Goods(String name,double cost){
//        this.cost = cost;
//        this.name = name;
//    }
}
